import request from "../http";

//获取热门搜索接口
// 接口地址： recipe/search/hot
export function getRecipeSearchHot(params){
    return request({
        url:"recipe/search/hot",
        method:"get",
        params,
    })
}

//获取搜索建议接口
// 接口地址： recipe/search/suggests
export function getRecipeSearchSuggests(params){
    return request({
        url:"recipe/search/suggests",
        method:"get",
        params,
    })
}

//获取菜谱搜索接口
// 接口地址： recipe/search
export function getRecipeSearch(params){
    return request({
        url:"recipe/search",
        method:"get",
        params,
    })
}